package jxta.chat.entities;

import net.jxta.endpoint.Messenger;
import net.jxta.peer.PeerID;

public class PeerNode {

	private Messenger messenger = null;
	private String peerName = null;
	private PeerID peerId;
	
	public PeerNode(PeerID id, String name, Messenger msg){
		messenger = msg;
		peerId = id;
		peerName = name;
	}

	public Messenger getMessenger() {
		return messenger;
	}

	public void setMessenger(Messenger messenger) {
		this.messenger = messenger;
	}

	public String getPeerName() {
		return peerName;
	}

	public void setPeerName(String peerName) {
		this.peerName = peerName;
	}

	public PeerID getPeerId() {
		return peerId;
	}

	public void setPeerId(PeerID peerId) {
		this.peerId = peerId;
	}
	
}
